package com.speed_run.service;

import com.speed_run.dto.CommentVo;
import com.speed_run.dto.IndexDTO;
import com.speed_run.dto.UserCircleDTO;
import com.speed_run.utils.ResponseEntity;
import com.speed_run.vo.moment.MomentVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ICircleService {
    public ResponseEntity circleDetail(Integer circleId,Double lat, Double lng);
    public ResponseEntity hostCircle();
    public ResponseEntity followCircle(Integer id);
    public ResponseEntity unFollowCircle(Integer id);
    public ResponseEntity getUserCircle(String userId);
    public ResponseEntity circle(MultipartFile framePic ,MultipartFile video ,MultipartFile[] album ,MomentVo vo);
    public ResponseEntity getUserCircleContent();
    public ResponseEntity deleteCircle(Integer id, String UserId);
    public ResponseEntity likeCirlce(Integer momentId);
    public ResponseEntity commentAdd(CommentVo vo);
    public ResponseEntity delComment(Integer id);
    public ResponseEntity indexCircle(Double lat, Double lng);
    //type 代表是0所有 1是代表自己查询
    public ResponseEntity momentByPage(Integer type,String typeId, String userId,Integer page,Double lat,Double lng);
    public ResponseEntity userFollower(String userId); //添加关注
    public ResponseEntity delFollower(String userId); //取消关注
    public ResponseEntity getMyFollowers(); //获取关注我的人
    public ResponseEntity getMyFollow(); //获取我的关注人
    public List<UserCircleDTO> setMoments(Integer circleId, String userId, IndexDTO dto, Double lat, Double lng);
    public ResponseEntity getUserMomentDetail(Integer momentId,Double lng, Double lat);
}
